﻿using Common;
using Common.XmlHandle;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace SFJDManagement
{
    /// <summary>
    /// Page_Edit_Contact.xaml 的交互逻辑
    /// </summary>
    public partial class Page_Edit_Contact : Page
    {
        DataGrid dataGrid = new DataGrid();

        public Page_Edit_Contact()
        {
            InitializeComponent();
            Ini();
        }

        public void Ini()
        {
            //载入数据
            List<ClassContact> list = Runtime.xmlContact.GetAll();
            dataGrid.ItemsSource = list;
            Content = dataGrid;
        }
    }
}
